package com.czw.ddm.register

import com.didi.drouter.annotation.Service
import com.didi.drouter.api.Extend
import com.mtzqc.common.service.CrashService
import com.tencent.bugly.crashreport.CrashReport

@Service(function = [CrashService::class], cache = Extend.Cache.SINGLETON, priority = 10)
class BuglyCrashService:CrashService {
    override fun crashLog(error: CharSequence) {

    }

    override fun crashLog(e: Throwable) {
        CrashReport.postCatchedException(e)
    }
}